
program define mybstrpbetasareg, eclass
         version 11
         bootstrap, reps(1000):  areg `0', absorb(_parXcou_)
         tempname b V
         mat `b' = e(b)
         mat `V' = e(V)
         mat colnames `b' = "Betas" "Constant"
         mat colnames `V' = "Betas" "Constant"
         mat rownames `V' = "Betas" "Constant"
         eret post `b' `V'
         eret local cmd mybetasareg
end
